<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>附件管理</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"></meta>
    <script type="text/javascript" src="../../common/miniuiInit.js"></script>
    <script type="text/javascript" src="../../common/common.js"></script>
    <script type="text/javascript" src="sysAttach.js"></script>
</head>
<body style="margin: 0; padding: 0px; border: 0; width: 100%; height: 100%;">
<div id="mainSplit" class="mini-splitter" style="width: 100%; height: 100%;">
    <div size="220" showCollapseButton="false">
        <div class="mini-toolbar" style="padding: 5px;">
            <table style="table-layout: fixed; width: 100%; " cellSpacing="0" cellPadding="0" border="0">
                <tr height="0px">
                    <td style="width: 40px;"></td>
                    <td></td>
                </tr>
                <tr height="30">
                    <td>名称：</td>
                    <td>
                        <input id="Orgtreekey" class="mini-textbox" style="width: 100%;" onenter="onOrgKeyEnter"/>
                    </td>
                </tr>
            </table>
        </div>
        <div class="mini-fit" style="width: 100%; height: 100%;">
            <ul id="menuTree" class="mini-tree" style="width: 100%; height: 100%;" showTreeIcon="true" textField="menuName" idField="attachMenuId" value=""  onNodeclick="menuSelected"  expandOnLoad="false"></ul>
        </div>
    </div>
    <div showCollapseButton="false">
        <div class="mini-toolbar" style="padding: 5px;">
            <table style="table-layout: fixed; width: 100%; " cellSpacing="0" cellPadding="0" border="0">
                <tr height="30">
                    <td>文件列表<span id="Usertitle" style="color: red;"></span></td>
                    <td style="white-space: nowrap;text-align: right;">
                        <input id="Userkey" class="mini-textbox" emptyText="请输入名称" style="width: 150px;" onenter="onKeyEnter"/>
                        <a class="mini-button" iconCls="icon-search" plain="true" onclick="Usersearch">查询</a>
                    </td>
                </tr>
            </table>
        </div>
        <div class="mini-fit">
            <div id="attachgrid" class="mini-datagrid" style="width: 100%; height: 100%;" url="attachMenuView!pageList.do" idField="attachId" allowResize="true" sizeList="[20,50,100]" pageSize="20" pageIndexField="page"
                 pageSizeField="rows" dataField="rows">
                <div property="columns">
                    <div field="attachName" width="200" headerAlign="center" allowSort="true" cellStyle="text-align:center;">
                        文件名称
                    </div>
                    <div field="attachType" width="150" headerAlign="center" allowSort="true" cellStyle="text-align:center;">
                        文件类型
                    </div>
                    <div field="attachSize" width="150" headerAlign="center" allowSort="true" cellStyle="text-align:center;">
                        文件大小
                    </div>
                    <div field="menuPath" width="100%" headerAlign="center" allowSort="true" cellStyle="text-align:center;">
                        所属目录
                    </div>
                    <div field="attachId" width="150" headerAlign="center" allowSort="false" cellStyle="text-align:center;" renderer="formatOper">
                        操作
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>